extends ../../layout

block content
    .container
        .row
            .col-sm-4.col-sm-offset-4
                form.form-horizontal(method='post', action='/user/create')
                    .form-group
                        label.col-sm-3.control-label(for="username") 用户名
                        .col-sm-9
                            input#username.form-control(type="text", name='name', placeholder="用户名")
                    .form-group
                        label.col-sm-3.control-label(for="password") 密码
                        .col-sm-9
                            input#password.form-control(type="password", name='password', placeholder="密码")
                    .form-group
                        .col-sm-offset-3.col-sm-9
                            button.btn.btn-success(type="submit") 注册

    script(src='/libs/md5/md5.min.js', type='text/javascript')
    script(src='/js/md5.js', type='text/javascript')
